package com.spy.system.dto;

 // 请替换为你的实际包路径

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("物料类别分页查询请求模型")
public class MatCategoryPageReqDto {

    @ApiModelProperty(value = "物料类别名称", required = false)
    private String materialCategory;

    @ApiModelProperty(value = "状态（0-禁用，1-启用）", required = false, example = "1")
    private Integer status;

    @ApiModelProperty(value = "页码", required = true, example = "1")
    @NotNull(message = "页码不能为空")
    private Integer pageNum=1;

    @ApiModelProperty(value = "页面大小", required = true, example = "10")
    @NotNull(message = "页面大小不能为空")
    private Integer pageSize=10;
}